Skip to contentSkip to conversation

RX480 + SME = amdgpu init failed + null dereference

Bug 104437 [email protected] 1 participant 5 messages Jan 1, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104437

Bug ID: 104437
Summary: RX480 + SME = amdgpu init failed + null dereference
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 136470
--> https://bugs.freedesktop.org/attachment.cgi?id=136470&action=edit
dmesg when not working

When upgrading from linux 4.13.x -> 4.14.x the amdgpu failed to come up, often hanging my desktop computer.

Ending the amdgpg bring up with:
[drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)
[drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v8_0> failed -22
amdgpu 0000:0a:00.0: amdgpu_init failed

After getting some help in #radeon we figured out that the culprit was that I had enabled SME (which the CPU Ryzen X1800 support).

Got the same error on 4.15-rc6, but with additional null dereference in DC code.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104437

--- Comment #1 from Nick Sarnie <[email protected]> --- Created attachment 144553
--> https://bugs.freedesktop.org/attachment.cgi?id=144553&action=edit
dmesg_sme.txt

Same issue using 5.1.9, RX Vega 64 and Ryzen 2700x.

[   19.998488] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP
block <vega10_ih> failed -12
[   19.998490] amdgpu 0000:0c:00.0: amdgpu_device_ip_init failed
[   19.998492] amdgpu 0000:0c:00.0: Fatal error during GPU init
[   19.998493] [drm] amdgpu: finishing device.
[   19.998601] [drm] amdgpu: ttm finalized

I've attached my dmesg as well.

Thanks,
Sarnex

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104437

--- Comment #2 from Michel Dänzer <[email protected]> --- (In reply to Nick Sarnie from comment #1)

Quoted 2 lines

Same issue [...]

The symptoms are clearly different, therefore please file your own report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104437

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/285.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel